package data.nanjing.expo.models.domain.exhibition;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 主办方修改参展商展位信息
 *
 * @author ChanJi
 * @create 2018-07-03 23:02
 **/
public class ModifyStandInfoDto {
    /**
     * 参展商id
     */
    @NotNull(message = "参展商id不能为空")
    @Min(value = 1,message = "请输入正确的参展商id")
    private Integer participantId;
    /**
     * 展区id
     */
    @NotNull(message = "展区id不能为空")
    private Integer areaId;
    /**
     * 展区名称
     */
    @NotEmpty(message = "展区名称不能为空")
        private String areaName;
    /**
     * 展位id
     */
    @NotNull(message = "展位id不能为空")
    private Integer standId;
    /**
     * 展位编号字母
     */
    @NotEmpty(message = "展位字母不能为空")
    private String word;
    /**
     * 展位编号数字
     */
    @NotNull(message = "展位数字不能为空")
    private Integer number;

    public Integer getParticipantId() {
        return participantId;
    }

    public void setParticipantId(Integer participantId) {
        this.participantId = participantId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Integer getStandId() {
        return standId;
    }

    public void setStandId(Integer standId) {
        this.standId = standId;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "ModifyStandInfoDto{" +
                "participantId=" + participantId +
                ", areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                ", standId=" + standId +
                ", word='" + word + '\'' +
                ", number=" + number +
                '}';
    }
}
